(C) 1996 AROS - The Amiga Replacement OS


NAME
#include <string.h>
#include <memory.h>
char * strdup()
SYNOPSIS
const char * orig

FUNCTION
Create a copy of a string. The copy can be freed with free() or will be freed when then program ends.

INPUTS
str1 - Strings to duplicate
RESULT
A copy of the string which can be freed with free().

NOTES
EXAMPLE
BUGS
SEE ALSO
INTERNALS
HISTORY
10.12.1996 aros
Moved #include into first column to allow makedepend to see it.
19.10.1996 aros
Moved all ANSI C function to here and wrote all neccessary header files. Now we have a real basis for our own C lib. Added the functions malloc(), free() and strcasecmp() Made all functions ANSI C compliant
21.09.1996 digulla
Duplicate strings